import { IStack } from './IStack';

class LinkedStack<T = any> implements IStack<T> {
  // 创建链表

  push(element: T): void {
    throw new Error('Method not implemented.');
  }
  pop(): T {
    throw new Error('Method not implemented.');
  }
  peek(): T {
    throw new Error('Method not implemented.');
  }
  isEmpty(): boolean {
    throw new Error('Method not implemented.');
  }
  size(): number {
    throw new Error('Method not implemented.');
  }
}

export {};
